@import '../../../../../lessConst.less';

.rankingModal {
  background-color: #191919;

  .at-action-sheet__container {
    height: 1100px;
    // background: url('@{iplandUrl}receiveGoldCoins/rankingBj.png') no-repeat;
    // background-size: 100% 100%;
    background: linear-gradient(180deg, #ff8f08 0%, #fe6c06 100%);
    background-color: transparent !important;
    border-radius: 40px;
  }

  .rankingEmpty {
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 420px;
  }

  .rankingHeader {
    background: url('@{iplandUrl}receiveGoldCoins/rankingTopBj.png') no-repeat;
    background-size: 100% 100%;
    height: 480px;
    position: relative;
    padding-top: 20px;

    .rankingCloseIcon {
      width: 68px;
      height: 68px;
      position: absolute;
      right: 10px;
    }

    .rankingTitle {
      font-size: 36px;
      // font-family: PingFangSC-Medium, PingFang SC;
      font-weight: 500;
      color: #fe7507;
      text-align: center;
    }

    .rankingTop {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 400px;
      border-radius: 0 0 45% 45%;
      overflow: hidden;
      margin-top: 20px;

      .secondRankingContent {
        padding-top: 70px;
      }

      .firstRankingContent {
        padding-top: 30px;
      }

      .thirdRankingContent {
        padding-top: 100px;
      }

      .rankingTopItem {
        display: flex;
        align-items: center;
        justify-content: center;

        .rankingTopAvatar {
          width: 134px;
          height: 148px;
          display: flex;
          align-items: center;
          justify-content: center;
          padding-top: 42px;
          padding-left: 30px;

          .rankingAvatar {
            width: 120px;
            height: 120px;
            .rankingTopAvatarIcon {
              height: 100%;
              width: 100%;
              padding: 15px;
            }
          }
        }

        .secondAvatar {
          background: url('@{iplandUrl}receiveGoldCoins/secondAvatarj.png') no-repeat;
          background-size: 100% 100%;
        }

        .firstAvatar {
          background: url('@{iplandUrl}receiveGoldCoins/firstAvatar.png') no-repeat;
          background-size: 100% 100%;
        }

        .thirdAvatar {
          background: url('@{iplandUrl}receiveGoldCoins/thirdAvatar.png') no-repeat;
          background-size: 100% 100%;
        }
      }

      .rankingTopContent {
        width: 198px;
        display: flex;
        align-items: center;

        .rankingTopName,
        .rankingTopGrade,
        .rankingTopScore {
          color: #fff;
        }

        .rankingTopName {
          padding-top: 15px;
          height: 60px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          display: inline-block;
          width: 92%;
        }

        .rankingTopGrade {
          padding-top: 10px;
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: center;

          .gradeExtra {
            color: #fff;
            font-size: 52px;
            // font-family: DINCond-Black, DINCond;
            font-weight: 900;
            padding: 0 10px;
          }
        }

        .rankingTopScore {
          font-size: 36px;
          // font-family: PingFangSC-Medium, PingFang SC;
          font-weight: 500;
        }
      }

      .secondRanking {
        background: url('@{iplandUrl}receiveGoldCoins/rankingSecondBjAll.jpg') no-repeat;
        background-size: 100% 100%;
        height: 300px;
      }

      .firstRanking {
        background: url('@{iplandUrl}receiveGoldCoins/rankingFirstBjAll.jpg') no-repeat;
        background-size: 100% 100%;
        height: 300px;
      }

      .thirdRanking {
        background: url('@{iplandUrl}receiveGoldCoins/rankingThirdBjAll.jpg') no-repeat;
        background-size: 100% 100%;
        height: 300px;
      }
    }
  }

  .rankingExtraTitle {
    color: #fff;
    font-size: 20px;
    text-align: right;
    height: 20px;
    margin-right: 45px;
  }

  .rankingTop {
    flex-direction: row;
  }

  .rankingList {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    height: 420px;

    .scrollContent {
      margin: 10px 20px;
    }

    .rankingListItem {
      flex-direction: row;
      background: url('@{iplandUrl}receiveGoldCoins/rankingItemBj.png') no-repeat;
      background-size: 100% 100%;
      height: 110px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 10px 0;

      .rankingListAvatar {
        width: 80px;
        height: 80px;
      }

      .rankingListName {
        text-align: left;
        padding-left: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        width: 100%;
      }

      .rankingListscore {
        font-weight: 600;
        font-size: 40px;
      }

      .rankingListIndex {
        font-weight: 600;
        font-size: 40px;
      }

      .rankingListName,
      .rankingListscore,
      .rankingListIndex {
        color: #fe6d06;
      }
    }
  }

  .rankingFooter {
    height: 162px;
    background: #ff9745;
    margin-top: 20px;
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: env(safe-area-inset-bottom);

    .footerLeft {
      color: #fff;
      height: 60px;
      background: url('@{iplandUrl}receiveGoldCoins/rankingNoUp.png') no-repeat;
      background-size: 100% 100%;
      display: flex;
      justify-content: center;
      align-items: flex-start;

      .extraTitle {
        color: #fff;
        font-size: 28px;
        padding-left: 50px;
      }
    }

    .footerRight {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-end;
      margin-right: 60px;

      .userInfoFooter {
        padding-right: 10px;

        view {
          color: #fff;
          font-size: 28px;
          text-align: right;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          display: inline-block;
          width: 400px;
        }
      }

      .userAvatarFooter {
        width: 84px;
        height: 84px;
      }
    }
  }
}
